From: Richard M. Stallman Date: Thu, 27 May 1993 22:12:55 +0000 (+0000) Subject: (do-install): Delete the dest dir, not the source dir, X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~95881 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=88190b5416ff66191e2d62e8cfecce560118151f;p=emacs.git (do-install): Delete the dest dir, not the source dir, when they are different. --- diff --git a/Makefile.in b/Makefile.in index 8b1371d0405..c11edcde473 100644 --- a/Makefile.in +++ b/Makefile.in @@ -332,7 +332,7 @@ do-install: mkdir -set ${COPYDESTS} ; \ for dir in ${COPYDIR} ; do \ if [ `(cd $$1 ; pwd)` != `(cd $${dir} ; pwd)` ] ; then \ - rm -rf $${dir} ; \ + rm -rf $$1 ; \ fi ; \ done -set ${COPYDESTS} ; \